package com.taxx.dto;

import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.time.LocalDate;

/**
 * 平台信息报送DTO
 */
@Data
public class TaxPlatformReportDTO {
    
    private Long id;
    
    @NotBlank(message = "纳税人名称不能为空")
    private String taxpayerName;
    
    @NotBlank(message = "统一社会信用代码不能为空")
    private String creditCode;
    
    @NotBlank(message = "平台名称不能为空")
    private String platformName;
    
    @NotBlank(message = "平台ID不能为空")
    private String platformId;
    
    @NotNull(message = "经营开始时间不能为空")
    private LocalDate businessStartTime;
    
    private LocalDate businessExitTime;
    
    @NotBlank(message = "操作类型代码不能为空")
    private String operationTypeCode;
    
    private LocalDate reportTime;
}
